package com.iwhalecloud.citybrain.flow.platform.manager.common.client;

import java.util.Map;

/**
 * @author cheng.huaxing
 * @date 2019-03-19
 */
public class HttpSetParticipantsDto extends HttpCommandDto {
    private static final long serialVersionUID = 5248744318892482130L;

    private Map<String, Object> tacheList;

    public Map<String, Object> getTacheList() {
        return this.tacheList;
    }

    public void setTacheList(Map<String, Object> tacheList) {
        this.tacheList = tacheList;
    }

    public HttpSetParticipantsDto() {
        this.setCommandCode("setParticipants");
    }

    @SuppressWarnings("unchecked")
    @Override
    public void init(Map<String, Object> paramsMap) {
        super.init(paramsMap);
        this.tacheList = (Map)paramsMap.get("TACHE_LIST");
    }

    @Override
    public Map<String, Object> toMap() {
        Map<String, Object> map = super.toMap();
        map.put("TACHE_LIST", this.tacheList);
        return map;
    }
}
